package entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
/**
 * @author: jinchao
 * @date: 18/7/31 11:27
 * @description:
 */
@Data
public class PageResult implements Serializable{
    /**
     * 总记录数
     */
    private long total;
    /***
     * 当前页记录
     */
    private List rows;

    /**
     * @author: jinchao
     * @date: 18/7/31 11:30
     * @description: 构造方法
     */
    public PageResult(long total,List rows){
        super();
        this.total = total;
        this.rows = rows;
    }

}
